public class Main {
    public static void main(String[] args) {

        // 反转字符串
        String str = "dasdgagasdg";
        StringBuilder sb = new StringBuilder(str);
        System.out.println(sb.reverse());

        // 判断一串字符串里括号的最大有效长度
    }
}
